import { get, post } from "@/common/http.js";

// 登录
export const zzLogin = (payload) => post('login', payload)

//大屏数据
export const getScreenData = (payload) => get('common/queryScreenList', payload)
//党员风采
export const getPartyList = (payload) => get('common/queryYzStyleList', payload)


// 查询所有市区
export const getCityList = (payload) => get('common/gyg/city', payload)

// 驿站分布
export const getPostStationLis = (payload) => get('common/queryYzPostStationList', payload)

// 公益岗列表
export const getGygList = (payload) => get('common/gyg/list', payload)

// 公益岗列表
export const getGygSubsidyList = (payload) => get('common/queryYzSubsidyList', payload)


// 宣传视频  type 1安全宣传2职业教育
export const getVideoList = (payload) => get('common/queryYzFileList', payload)


// 监控视频列表
export const getPostStationVideoList = (payload) => get('common/queryYzPostStationVideoList', payload)

// 市区镇 列表
export const getCityTownTreeList = (payload) => get('common/queryTreeByKeyWord', payload)


// 人物画像
export const getPersonDetails = (payload) => get('common/queryYzSubsidyDetail', payload)




// 单位管理 列表
export const getCompanyList = (payload) => get('unit/list', payload)

// 单位管理 新增
export const companyAdd = (payload) => post('unit/add', payload)

// 单位管理 编辑
export const companyEdit = (payload) => post('unit/edit', payload)

// 单位管理 删除
export const companyDelete = (payload) => get('unit/delete', payload)


// 岗位库 列表
export const getJobList = (payload) => get('job/list', payload)

// 岗位库 新增
export const jobAdd = (payload) => post('job/add', payload)

// 岗位库 编辑
export const jobEdit = (payload) => post('job/edit', payload)

// 岗位库 删除
export const jobDelete = (payload) => get('job/delete', payload)


// 第三方机构管理 列表
export const getThirdPartyList = (payload) => get('threeOrganization/list', payload)

// 第三方机构管理 新增
export const thirdPartyAdd = (payload) => post('threeOrganization/add', payload)

// 第三方机构管理 编辑
export const thirdPartyEdit = (payload) => post('threeOrganization/edit', payload)

// 第三方机构管理 删除
export const thirdPartyDelete = (payload) => get('threeOrganization/delete', payload)


// 安置对象管理 列表
export const getPlacementList = (payload) => get('placementInfo/list', payload)

// 安置对象管理 新增
export const placementAdd = (payload) => post('placementInfo/add', payload)

// 安置对象管理 编辑
export const placementEdit = (payload) => post('placementInfo/edit', payload)

// 安置对象管理 删除
export const placementDelete = (payload) => get('placementInfo/delete', payload)


// 岗位聘用管理  岗位库管理 列表
export const getJobLibraryList = (payload) => get('job/manage/list', payload)

// 岗位聘用管理  岗位库管理 新增
export const jobLibraryAdd = (payload) => post('job/manage/add', payload)

// 岗位聘用管理  岗位库管理 编辑
export const jobLibraryEdit = (payload) => post('job/manage/edit', payload)

// 岗位聘用管理  岗位库管理 删除
export const jobLibraryDelete = (payload) => get('job/manage/delete', payload)


// 岗位聘用管理  列表
export const getJobHireList = (payload) => get('jobHire/list', payload)

// 岗位聘用管理  新增
export const jobHireAdd = (payload) => post('jobHire/add', payload)

// 岗位聘用管理  编辑
export const jobHireEdit = (payload) => post('jobHire/edit', payload)

// 岗位聘用管理  删除
export const jobHireDelete = (payload) => get('jobHire/delete', payload)
